<?php if ($faqs) { ?>
<?php foreach ($faqs as $faq) { ?>
<div class="faq-list">
  <div class="author"><b><?php echo $faq['author']; ?></b> <?php echo $text_on; ?> <?php echo $faq['date_added']; ?></div>
  <div class="text"><b>Q:</b> <?php echo nl2br($faq['question']); ?></div>
  <?php if ($faq['answer']) { ?>
  <div class="answer"><b>A:</b> <?php echo nl2br($faq['answer']); ?></div>
  <?php } ?>
</div>
<?php } ?>
<div class="pagination"><?php echo $pagination; ?></div>
<?php } else { ?>
<div class="content"><?php echo $_['text_no_faqs']; ?></div>
<?php } ?>
